revert: 撤回 Xiaomi MiMo apiFormat 改 responses (#552) - #554
Open
Cmochance wants to merge 1 commit into
Open
Conversation
完整 revert #552:Xiaomi MiMo preset 的 apiFormat 从 responses 退回 openai_chat (/chat/completions),healing 自愈逻辑恢复为强制覆盖回 openai_chat,README 能力说明还原。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
撤回内容
完整 revert #552(
4c2aadf)—— 该 PR 未经允许将 Xiaomi MiMo preset 的apiFormat从openai_chat改为responses。本 PR 把 5 个文件全部反向恢复:
presets_data.json+ golden fixturebuiltin_presets.json:两个 xiaomi preset 的apiFormat退回openai_chathealing.rs:自愈逻辑恢复为"命中 preset 强制覆盖回openai_chat",还原 2026-05-08 MiMo 404 回归注释与测试 case影响
Xiaomi MiMo 恢复走
openai_chat(/chat/completions)。历史注释显示 xiaomi 走 responses 曾导致 404,撤回方向与该历史一致。验证
cargo test -p codex-app-transfer-registry全绿(lib 135 + golden_compat 7,含rust_embedded_presets_match_committed_fixture/builtin_presets_roundtrip),cargo fmt --check通过。